

import java.util.Date;

public class Loglistener implements Listener{
@Override
public void temperaturechange(Event event) {
		System.out.printf("[日志] %tT 温度更新：%.1f℃\n",new Date(event.Gettime()), event.Gettemperature() );		
	}

}
